package com.cema.manage.project.manage.rewardRecord.domain;

import cn.hutool.core.util.StrUtil;
import com.cema.manage.framework.web.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class RewardRecordVo extends BaseEntity {
    private String usCode;
    private String rrSourceType;
    private String rrType;
    private String usId;
    private String pusId;
    private String usNickname;

    public String getPusId() {
        return pusId;
    }

    public void setPusId(String pusId) {
        if (StrUtil.isNotEmpty(pusId)) {
            this.pusId = pusId;
        } else {
            this.pusId = null;
        }
    }

    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    private Date endTime;

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getUsId() {
        return usId;
    }

    public void setUsId(String usId) {
        this.usId = usId;
    }

    public String getUsNickname() {
        return usNickname;
    }

    public void setUsNickname(String usNickname) {
        this.usNickname = usNickname;
    }

    public String getUsCode() {
        return usCode;
    }

    public void setUsCode(String usCode) {
        this.usCode = usCode;
    }

    public String getRrSourceType() {
        return rrSourceType;
    }

    public void setRrSourceType(String rrSourceType) {
        this.rrSourceType = rrSourceType;
    }

    public String getRrType() {
        return rrType;
    }

    public void setRrType(String rrType) {
        this.rrType = rrType;
    }
}
